// pages/community/community.js
Page({
  data: {
    value: "",
    showResult: false,
    imgUrls: [{
      titleImg: "https://img.zhichiwangluo.com/zcimgdir/album/file_5cbfbff64d548.jpg",
      openPath: ""
    }, {
      titleImg: "https://img.zhichiwangluo.com/zcimgdir/album/file_5cbfbedfbd58c.png",
      openPath: ""
    }, {
      titleImg: "https://img.zhichiwangluo.com/zcimgdir/album/file_5cbfbfca27a85.jpg",
      openPath: ""
    }, {
      titleImg: "https://img.zhichiwangluo.com/zcimgdir/album/file_5cbfbfe02dd02.jpg",
      openPath: ""
    }],
    funList: [{
      img: "https://img.zhichiwangluo.com/zcimgdir/album/file_5ca48749e0b56.png",
      openpath: "",
      text: "万能墙"
    }, 
    // {
    //   img: "https://img.zhichiwangluo.com/zcimgdir/thumb/t_15558279005cbc0cbc3392d.png",
    //   openpath: "",
    //   text: "失物招领"
    // }, {
    //   img: "https://img.zhichiwangluo.com/zcimgdir/thumb/t_15558279425cbc0ce6ee2fe.png",
    //   openpath: "",
    //   text: "跳蚤市场"
    // }, {
    //   img: "https://img.zhichiwangluo.com/zcimgdir/thumb/t_15558281665cbc0dc6cafee.png",
    //   openpath: "",
    //   text: "你问我答"
    // }, {
    //   img: "https://img.zhichiwangluo.com/zcimgdir/thumb/t_15558280745cbc0d6a40490.png",
    //   openpath: "",
    //   text: "交友找伴"
    // }, 
    {
      img: "https://img.zhichiwangluo.com/zcimgdir/thumb/t_15558282225cbc0dfe94e05.png",
      openpath: "",
      text: "社团活动"
     }
    //  {
    //   img: "https://img.zhichiwangluo.com/zcimgdir/thumb/t_15558282025cbc0dea005ca.png",
    //   openpath: "",
    //   text: "跑腿兼职"
    // }, {
    //   img: "https://img.zhichiwangluo.com/zcimgdir/thumb/t_15558280015cbc0d219378a.png",
    //   openpath: "",
    //   text: " 吐槽角"
    // }
    ],
    viewMoreTitle: "东林大事件",
    showEventList: [{
      img: "https://img.zhichiwangluo.com/zcimgdir/album/file_5cbfc4e0e8b85.jpg",
      title: "重磅消息|教育部批准东林设立奥林学院"
    }, {
      img: "https://img.zhichiwangluo.com/zcimgdir/thumb/t_15560720535cbfc6752d57f.jpg",
      title:"李顺龙副校长访问阿根廷和美国两所高校"

    }]
  },

  searchInput() {
    this.setData({
      showResult: true
    })
  },
  cancelSearch() {
    this.setData({
      showResult: false,
      value: ''
    })
  },

})